package com.zzj.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zzj.entity.Product;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzj.model.dto.ProductListDTO;
import org.apache.ibatis.annotations.Param;



/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author zzj
 * @since 2022-12-07
 */
public interface ProductMapper extends BaseMapper<Product> {

    IPage<Product> productList(@Param("dto") ProductListDTO in, Page<?> page);

}
